package com.me.test.service;

import com.me.test.domain.User;

import java.util.List;

/**
 * @author ME
 * @date 2021/5/9
 */
public interface UserService {

    User findById(Long id);

    List<User> findAll(User user);

    List<User> findAll2(String name, Integer age);

    int add(User user);

    int update(User user);

    int del(User user);
}
